package com.showtao.common.util.web;

import javax.annotation.PostConstruct;

import org.codehaus.jackson.map.DeserializationConfig.Feature;
import org.codehaus.jackson.map.ObjectMapper;

public class CustomObjectMapper extends ObjectMapper {

    @PostConstruct
    public void customConfiguration() {
        // Uses Enum.toString() for deserialization of an Enum
//        this.enable(Feature.READ_ENUMS_USING_TO_STRING);
    }
}
